<%@ page import="cn.ekgc.web166.dao.StudentDao" %>
<%@ page import="cn.ekgc.web166.dao.StudentDaoImpl" %>
<%@ page import="cn.ekgc.web166.entity.Student" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/6/18 0018
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    int id = Integer.parseInt(request.getParameter("id"));
    StudentDao dao = new StudentDaoImpl();
    Student student = dao.get(id);
    request.setAttribute("student",student);
    request.getRequestDispatcher("showstudent.jsp").forward(request,response);
%>